import { Tabs } from 'antd';
import React from 'react';

import WhiteList from './whiteList';

const BWList: React.FC = () => {
  return (
    <Tabs
      defaultActiveKey="1"
      style={{
        marginTop: '-48px', // 修复Tabs组件的样式问题
      }}
      items={[
        // { tab: '黑名单', key: '2' },
        { label: '白名单', key: '1', children: <WhiteList /> },
      ]}
    ></Tabs>
  );
};

export default BWList;
